import { Routes } from '@angular/router';

import { HomeComponent } from './home/home.component';
import { LoginComponent } from './login/login.component';

export const rootRouterConfig: Routes = [
    {
        path: "",
        redirectTo: "login",
        pathMatch: "full"
    },
    {
        path: "main",
        component: HomeComponent
    },
    {
        path: "login",
        component: LoginComponent

    }
]